<?php
/*
 * 内容审核系统-内容名称
 */

namespace App\Enums;

class ContentNameEnum
{
    const NICKNAME            = 1; //昵称
    const HEAD_PICTURE        = 2; //头像
    const ALBUM               = 3; //相册
    const VIDEO_INTRO         = 4; //视频介绍
    const VOICE_INTRO         = 5; //语音介绍
    const SIGNATURE           = 6; //个性签名
    const MICROBLOG           = 7; //动态
    const PRIVATE_CHAT        = 8; //私聊
    const CHAT_SQUARE         = 9; //聊天广场
    const ROOM_NAME           = 10;//房间名称
    const ROOM_COVER          = 11;//房间封面
    const ROOM_NOTICE         = 12;//房间公告
    const ROOM_PLAY           = 13;//房间玩法
    const WHEAT_VOICE         = 14;//麦位音频
    const ROOM_CHAT           = 15;//房间公屏聊天
    const SOCIATY_LOGO        = 16;//公会logo
    const SOCIATY_DECLARATION = 17;//公会宣言
    const SOCIATY_NOTICE      = 18;//公会公告
    const SOCIATY_NAMEPLATE   = 19;//公会铭牌
    const USER                = 20;//封禁用户
    const ROOM                = 21;//封禁房间
    const ROB_HEADLINES       = 22;//话题广场抢头条
    const DYNAMIC_REPLY = 23; // 动态回复
    const All                 = -1;//全部 包含以上所有
    const GROUP_NAME = 24; // 群昵称
    const GROUP_AVATAR = 25; // 群头像
    const GROUP_COVER = 26; // 群封面
    const GROUP_INTRODUCTION = 27; // 群介绍
    const GROUP_MEMBER_NICKNAME = 28; // 群成员昵称
    const GROUP_BULLETIN = 29; // 群公告

    const GROUP_MESSAGE = 30; // 群消息
    const GROUP_FRIEND_CARD = 31;  // 群交友卡片


    const GROUP_CITY_PARTY = 40; // 同城群派对

    const GREET = 41; //招呼

    const ROOM_BACKGROUND = 50; //房间背景

    const INFO
        = [
            self::NICKNAME            => [
                'channel_id' => self::NICKNAME,
                'name'       => '修改昵称',
                'actions'    => [self::NICKNAME],
            ],
            self::HEAD_PICTURE        => [
                'channel_id' => self::HEAD_PICTURE,
                'name'       => '修改头像',
                'actions'    => [self::HEAD_PICTURE],
            ],
            self::ALBUM               => [
                'channel_id' => self::ALBUM,
                'name'       => '用户相册',
                'actions'    => [self::ALBUM],
            ],
            self::VIDEO_INTRO         => [
                'channel_id' => self::VIDEO_INTRO,
                'name'       => '视频介绍',
                'actions'    => [self::VIDEO_INTRO],
            ],
            self::VOICE_INTRO         => [
                'channel_id' => self::VOICE_INTRO,
                'name'       => '语音介绍',
                'actions'    => [self::VOICE_INTRO],
            ],
            self::SIGNATURE           => [
                'channel_id' => self::SIGNATURE,
                'name'       => '个性签名',
                'actions'    => [self::SIGNATURE],
            ],
            self::MICROBLOG           => [
                'channel_id' => self::MICROBLOG,
                'name'       => '动态',
                'actions'    => [self::MICROBLOG],
            ],
            self::PRIVATE_CHAT        => [
                'channel_id' => self::PRIVATE_CHAT,
                'name'       => '私聊',
                'actions'    => [self::PRIVATE_CHAT],
            ],
            self::CHAT_SQUARE         => [
                'channel_id' => self::CHAT_SQUARE,
                'name'       => '聊天广场',
                'actions'    => [self::CHAT_SQUARE],
            ],
            self::ROOM_NAME           => [
                'channel_id' => self::ROOM_NAME,
                'name'       => '房间名称',
                'actions'    => [self::ROOM_NAME],
            ],
            self::ROOM_COVER          => [
                'channel_id' => self::ROOM_COVER,
                'name'       => '房间封面',
                'actions'    => [self::ROOM_COVER],
            ],
            self::ROOM_NOTICE         => [
                'channel_id' => self::ROOM_NOTICE,
                'name'       => '房间公告',
                'actions'    => [self::ROOM_NOTICE],
            ],
            self::ROOM_PLAY           => [
                'channel_id' => self::ROOM_PLAY,
                'name'       => '房间玩法',
                'actions'    => [self::ROOM_PLAY],
            ],
            self::WHEAT_VOICE         => [
                'channel_id' => self::WHEAT_VOICE,
                'name'       => '麦位音频',
                'actions'    => [self::WHEAT_VOICE],
            ],
            self::ROOM_CHAT           => [
                'channel_id' => self::ROOM_CHAT,
                'name'       => '公屏聊天',
                'actions'    => [self::ROOM_CHAT],
            ],
            self::SOCIATY_LOGO        => [
                'channel_id' => self::SOCIATY_LOGO,
                'name'       => '公会logo',
                'actions'    => [self::SOCIATY_LOGO],
            ],
            self::SOCIATY_DECLARATION => [
                'channel_id' => self::SOCIATY_DECLARATION,
                'name'       => '公会宣言',
                'actions'    => [self::SOCIATY_DECLARATION],
            ],
            self::SOCIATY_NOTICE      => [
                'channel_id' => self::SOCIATY_NOTICE,
                'name'       => '公会公告',
                'actions'    => [self::SOCIATY_NOTICE],
            ],
            self::SOCIATY_NAMEPLATE   => [
                'channel_id' => self::SOCIATY_NAMEPLATE,
                'name'       => '公会铭牌',
                'actions'    => [self::SOCIATY_NAMEPLATE],
            ],
            self::USER                => [
                'channel_id' => self::USER,
                'name'       => '用户相关',
                'actions'    => [1, 2, 3, 4, 5, 6, 7, 8, 9,22],
            ],
            self::ROOM                => [
                'channel_id' => self::ROOM,
                'name'       => '封禁房间',
                'actions'    => [self::ROOM],
            ],
            self::All                 => [
                'channel_id' => self::All,
                'name'       => '全部',
                'actions'    => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21,22],
            ],
            self::DYNAMIC_REPLY => [
                'channel_id' => self::DYNAMIC_REPLY,
                'name' => '动态回复',
                'actions' => [self::DYNAMIC_REPLY],
            ],
            self::GROUP_NAME => [
                'channel_id' => self::GROUP_NAME,
                'name'       => '群名称',
                'actions'    => [self::GROUP_NAME],
            ],
            self::GROUP_AVATAR => [
                'channel_id' => self::GROUP_AVATAR,
                'name'       => '群头像',
                'actions'    => [self::GROUP_AVATAR],
            ],
            self::GROUP_COVER => [
                'channel_id' => self::GROUP_COVER,
                'name'       => '群封面',
                'actions'    => [self::GROUP_COVER],
            ],
            self::GROUP_INTRODUCTION => [
                'channel_id' => self::GROUP_INTRODUCTION,
                'name'       => '群简介',
                'actions'    => [self::GROUP_INTRODUCTION],
            ],
            self::GROUP_MEMBER_NICKNAME => [
                'channel_id' => self::GROUP_MEMBER_NICKNAME,
                'name'       => '群成员昵称',
                'actions'    => [self::GROUP_MEMBER_NICKNAME],
            ],
            self::GROUP_BULLETIN => [
                'channel_id' => self::GROUP_BULLETIN,
                'name'       => '群公告',
                'actions'    => [self::GROUP_BULLETIN],
            ],
            self::GROUP_MESSAGE => [
                'channel_id' => self::GROUP_MESSAGE,
                'name'       => '群成员消息',
                'actions'    => [self::GROUP_MESSAGE],
            ],
        ];

    const ACTIONS
        = [
            self::NICKNAME            => [
                "action_id"   => self::NICKNAME,
                "action_name" => "昵称",
            ],
            self::HEAD_PICTURE        => [
                "action_id"   => self::HEAD_PICTURE,
                "action_name" => "头像",
            ],
            self::ALBUM               => [
                "action_id"   => self::ALBUM,
                "action_name" => "相册",
            ],
            self::VIDEO_INTRO         => [
                "action_id"   => self::VIDEO_INTRO,
                "action_name" => "视频介绍",
            ],
            self::VOICE_INTRO         => [
                "action_id"   => self::VOICE_INTRO,
                "action_name" => "语音介绍",
            ],
            self::SIGNATURE           => [
                "action_id"   => self::SIGNATURE,
                "action_name" => "个性签名",
            ],
            self::MICROBLOG           => [
                "action_id"   => self::MICROBLOG,
                "action_name" => "动态",
            ],
            self::PRIVATE_CHAT        => [
                "action_id"   => self::PRIVATE_CHAT,
                "action_name" => "私聊",
            ],
            self::CHAT_SQUARE         => [
                "action_id"   => self::CHAT_SQUARE,
                "action_name" => "聊天广场",
            ],
            self::ROOM_NAME           => [
                "action_id"   => self::ROOM_NAME,
                "action_name" => "房间名称",
            ],
            self::ROOM_COVER          => [
                "action_id"   => self::ROOM_COVER,
                "action_name" => "房间封面",
            ],
            self::ROOM_NOTICE         => [
                "action_id"   => self::ROOM_NOTICE,
                "action_name" => "房间公告",
            ],
            self::ROOM_PLAY           => [
                "action_id"   => self::ROOM_PLAY,
                "action_name" => "房间玩法",
            ],
            self::WHEAT_VOICE         => [
                "action_id"   => self::WHEAT_VOICE,
                "action_name" => "麦位音频",
            ],
            self::ROOM_CHAT           => [
                "action_id"   => self::ROOM_CHAT,
                "action_name" => "房间公屏聊天",
            ],
            self::SOCIATY_LOGO        => [
                "action_id"   => self::SOCIATY_LOGO,
                "action_name" => "公会logo",
            ],
            self::SOCIATY_DECLARATION => [
                "action_id"   => self::SOCIATY_DECLARATION,
                "action_name" => "公会宣言",
            ],
            self::SOCIATY_NOTICE      => [
                "action_id"   => self::SOCIATY_NOTICE,
                "action_name" => "公会公告",
            ],
            self::SOCIATY_NAMEPLATE   => [
                "action_id"   => self::SOCIATY_NAMEPLATE,
                "action_name" => "公会铭牌",
            ],
            self::ROOM                => [
                "action_id"   => self::ROOM,
                "action_name" => "锁房",
            ],
            self::ROB_HEADLINES                => [
                "action_id"   => self::ROB_HEADLINES,
                "action_name" => "广场头条",
            ],
            self::DYNAMIC_REPLY => [
                "action_id" => self::DYNAMIC_REPLY,
                "action_name" => "动态回复"
            ],
            self::GROUP_NAME => [
                "action_id" => self::GROUP_NAME,
                "action_name" => "群名称"
            ],
            self::GROUP_AVATAR => [
                "action_id" => self::GROUP_AVATAR,
                "action_name" => "群头像"
            ],
            self::GROUP_COVER => [
                "action_id" => self::GROUP_COVER,
                "action_name" => "群封面"
            ],
            self::GROUP_INTRODUCTION => [
                "action_id" => self::GROUP_INTRODUCTION,
                "action_name" => "群简介"
            ],
            self::GROUP_MEMBER_NICKNAME => [
                "action_id" => self::GROUP_MEMBER_NICKNAME,
                "action_name" => "群成员昵称"
            ],
            self::GROUP_BULLETIN => [
                "action_id" => self::GROUP_BULLETIN,
                "action_name" => "群公告"
            ],
            self::GROUP_MESSAGE => [
                "action_id" => self::GROUP_MESSAGE,
                "action_name" => "群成员消息"
            ],
            self::GREET           => [
                'channel_id' => self::GREET,
                'name'       => '动态',
                'actions'    => [self::GREET],
            ],
        ];

    //审核拒绝原因
    const REFUSE_REASON
        = [
            1  => ['id' => 1, 'name' => '挖人'],
            2  => ['id' => 2, 'name' => '涉政'],
            3  => ['id' => 3, 'name' => '暴恐'],
            4  => ['id' => 4, 'name' => '色情'],
            5  => ['id' => 5, 'name' => '辱骂'],
            6  => ['id' => 6, 'name' => '广告'],
            7  => ['id' => 7, 'name' => '灌水'],
            8  => ['id' => 8, 'name' => '无意义'],
            9  => ['id' => 9, 'name' => '违禁'],
            10 => ['id' => 10, 'name' => '自定义'],
        ];
}
